﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MappingObjectCollectionViewModel.cs" >
//   J. Prinz
// </copyright>
// <summary>
//   View Model representing a collection of Mapping Objects <see cref="MappingTypeViewModel" />
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace AutomationMLMapper.ViewModels.CAEXObjectCollectionViewModels
{
    using AutomationMLMapper.Properties;
    using AutomationMLMapper.ViewModels.CAEXObjectViewModels;

    /// <summary>
    ///   View Model representing a collection of Mapping Objects <see cref="MappingTypeViewModel" />
    /// </summary>
    public class MappingObjectCollectionViewModel : CAEXObjectCollectionViewModel<MappingTypeViewModel>
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="MappingObjectCollectionViewModel"/> class. 
        /// </summary>
        /// <param libraryName="parent">
        /// Should be an InternalElementViewModel <see cref="InternalElementViewModel"/> 
        /// </param>
        public MappingObjectCollectionViewModel(ICAEXObject parent)
            : base(parent)
        {
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///   Displayname for the Collection shown in the UI in Headers and Labels
        /// </summary>
        public new string DisplayName
        {
            get
            {
                return Resources.MappingsBetweenPropertiesAndAttributes;
            }
        }

        #endregion
    }
}